package com.derbysoft.synxisadapter.dswitch2.service;

import com.derbysoft.synxisadapter.commons.dto.synxis.OTACancelRQ;
import com.derbysoft.synxisadapter.commons.dto.synxis.OTACancelRS;
import com.derbysoft.synxisadapter.commons.model.Channel;
import com.derbysoft.synxisadapter.webservice.impl.ResponsePair;

import java.util.List;

public interface ProviderWebService {
    Object invoke(Object rq, Channel channel);

    List<ResponsePair<OTACancelRQ, OTACancelRS>> batchCancel(List<OTACancelRQ> cancelRQs, Channel channel) throws Exception;
}
